extends Panel


func _ready():
	pass 
	


func update_data():
	var map_view = MainTool.getUILayer().get_ui("MapView")
	
	# 更新当前坐标
	var position_info = map_view.get_select_position_info()
	$HBoxContainer/position.text = str("坐标:(",position_info.x, " ", position_info.y, ")")
	

func set_map_name(map_name):
	$HBoxContainer/mapName.text = map_name
